package com.scau402.system1.repository;

import com.scau402.system1.domain.po.WmsAdjustBoundOrderDetailPO;
import com.scau402.system1.domain.po.WmsAuditOrderPO;
import com.scau402.system1.domain.query.AuditOrderQuery;
import com.scau402.system1.domain.query.WmsAdjustBoundOrderQuery;
import com.scau402.system1.domain.vo.WmsAdjustBoundOrderDetailVO;

import java.util.List;

/**
 * 库存调整详情单Repository
 * @since 2024/2/3
 */
public interface IWmsAdjustDetailRepository {
    void saveList(List<WmsAdjustBoundOrderDetailPO> orderDetailList);

    List<WmsAdjustBoundOrderDetailVO> findListByAdjustOrderId(Long adjustOrderId);

    WmsAdjustBoundOrderDetailPO find(Long auditId);

    List<WmsAdjustBoundOrderDetailPO> findAdjustList(List<WmsAuditOrderPO> poList);
    WmsAdjustBoundOrderDetailPO findAdjustByAudit(WmsAdjustBoundOrderQuery adjustBoundOrderQuery);
    WmsAdjustBoundOrderDetailPO findAdjustByAudit(WmsAuditOrderPO po);

}
